#ifndef TEST_CHECK_H
#define TEST_CHECK_H

#include <QWidget>
#include "fun.h"
#include "QTimer"
#include "QObject"
namespace Ui {
class test_check;
}

class test_check : public QDialog
{
    Q_OBJECT

public:
    explicit test_check(test *da,QWidget *parent = nullptr);
    ~test_check();

private slots:
    void run_time_out();

    void on_btn_start_clicked();

    void on_btn_stop_clicked();

private:
    Ui::test_check *ui;
    test *com_data;
    int check_add=1;
    int state=0;

    QTimer *run_time;
    QTimer *bush_time;
    QVector<double>T_air;
    QVector<double>T_water;
    QVector<double>T_waitong;
    QVector<double>T_K;

};

#endif // TEST_CHECK_H
